package com.itheima.homeweek;

import java.util.Scanner;

public class HomeWeek04 {//将该字符串中的数字排序后输出到控制台
    public static void main(String[] args) {
        System.out.println("请录入字符串");
        Scanner sc= new Scanner(System.in);
        String input = sc.nextLine();

        String[] arr = input.split(" ");
        for(int i=0;i<arr.length;i++){
            System.out.println(arr[i]);
        }
    }
}
